<?php
echo $javascript->codeBlock("
	jQuery(function(){
		jQuery('ul.sf-footer').superfish();
	});	
",$options = array('allowCache'=>false,'safe'=>false,'inline'=>false));
?>
<ul class="sf-footer">
	<?php $class = (isset($this->params['pass'][0]) && $this->params['pass'][0] == 'o-nas')?'first menu-top current':'first menu-top';?>
	<li class="<?php echo $class;?>">
		<?php 
		echo $html->link('<span>'.__("O nas", true).'</span>', array('plugin'=>false,'controller'=>'pages','action'=>'o-nas'),
        array('escape'=>false,'class'=>$class)); 
        ?>
	</li>

	<?php $class = (isset($this->params['pass'][0]) && $this->params['pass'][0] == 'faq')?'menu-top current':'menu-top';?>
	<li class="<?php echo $class;?>">
		<?php 
		echo $html->link(__("FAQ's", true), array('plugin'=>false,'controller'=>'pages','action'=>'faq'),
        array('escape'=>false,'class'=>$class)); 
        ?>
	</li>
	<li class="<?php echo $class;?>">
		<?php 
		echo $html->link(__("Nieruchomości podkarpackie", true), '/pol/offers/index/sprzedaz-mieszkan',
        array('escape'=>false,'class'=>$class)); 
        ?> 
	</li>
	<li class="<?php echo $class;?>">
		<?php 
		echo $html->link(__("Agencja nieruchomości", true), '/pol/offers/index/dzialki-w-rzeszowie',
        array('escape'=>false,'class'=>$class)); 
        ?>
	</li>	
	<li class="<?php echo $class;?>">
		<?php 
		echo $html->link(__("Nieruchomości Rzeszów", true), '/pol/offers/index/domy-rzeszow',
        array('escape'=>false,'class'=>$class)); 
        ?>
	</li>
</ul>

